<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title></title>
    <script src="https://cdn.staticfile.org/jquery/3.3.1/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <link rel="stylesheet" type="text/css" href="css/bootstrap.css"/>
</head>
<body>
<div>
    <table class="table table-striped">
        <thead>
        <tr>
            <th>国家简写</th>
            <th>国家名称</th>
            <th>代号</th>
        </tr>
        </thead>
        <tbody id="tC">

        </tbody>
    </table>
</div>
<script type="text/javascript">
    console.log("99988")
  /*  $.ajax({url:'gt',success:function (res) {
        alert("jk")
            console.log(res)
        }})*/
  var aa={
      name:"af",
      age:12
  }
    $.get("gt", function (res) {
        console.log("----")
        console.log(res)
        $.each(res.data, function (a, v) {
            var $tr = $("<tr></tr>")
            $.each(v, function (k, y) {
                $tr.append($("<td>" + y + "</td>"))
            })
            $tr.appendTo("#tC")
        })
    })
    $.get("jj",aa);

</script>
</body>
</html>
